package com.sk.coin.sys.mapper;

import com.sk.coin.sys.entity.SysPrivilege;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Set;

/**
 * <p>
 * 权限配置 Mapper 接口
 * </p>
 *
 * @author Administrator
 * @since 2022-02-21
 */
public interface SysPrivilegeMapper extends BaseMapper<SysPrivilege> {

    Set<Long> getPrivilegesByRoleId(@Param("roleId") Long roleId);
}
